<template>
  <div class="about">
    <h1>vue插件完成自定义提示</h1>
    <el-button type="primary" @click="clickShowMsg">点击提示</el-button>
  </div>
</template>
<script>
export default {
    
    methods:{
      clickShowMsg(){
        this.$message.show('我是提示的内容')
        setTimeout(() => {
              this.$message.hide()
            }, 2000);
      }
    }
}
</script>
